package com.joven.core.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joven.core.model.TblGoodsStore;
import com.joven.core.model.dto.TblGoodsAccountDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author joven_wong
 * @since 2021/7/1 16:29
 */
@Repository
public interface TblGoodsStoreMapper extends BaseMapper<TblGoodsStore> {

    /**
     * Mybatis Plus 使用 ${ew.sqlSegment} 与 ${ew.customSqlSegment}  省略 <where></where>
     * @param wrapper 查询条件
     * @return 响应数据
     */
    TblGoodsAccountDTO getOne(@Param("ew") Wrapper<TblGoodsAccountDTO> wrapper);
}
